<?php

include_once 'Panier.php';

session_start();

$panier = unserialize($_SESSION["panier"]);
$panier->payer();
$panier->cleanPanier();
$_SESSION["panier"] = serialize($panier);

header('Location: ../Panier.php');

?>